/*
 * @Copyright: Citylife 2021
 * @Copyright: EasyCompany 2021
 * @Author: asterisk
 * @Date: 2021-03-18 17:54:23
 * @Description: 
 */
import '../easy_log.dart';

class EasyLogParams {
  /// is or not single instance
  bool isInstance;

  /// logger object name
  /// default use [appName]
  String logName;

  /// log record level
  EasyLogLevel logLevel;

  /// is or not console output
  bool supportConsole;

  /// is or not database output
  /// all log record output into a database file
  bool supportDao;

  /// is or not file output
  /// all log record output into a database file
  bool supportFile;

  EasyLogParams(
      {this.isInstance = true,
      this.logLevel = EasyLogLevel.ALL,
      this.logName = EasyLogConst.appDefaultName,
      this.supportConsole = true,
      this.supportDao = true,
      this.supportFile = false});
}
